package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

import java.io.Serializable;

/**
 * 用户账户明细表
 * 
 * @author liuqi
 * @email sunlightcs@gmail.com
 * @date 2021-08-27 15:26:37
 */
public class UserAccDetail extends BaseEntity {

	private static final long serialVersionUID = 3588139519072151333L;
	/**
	 * 运营商id
	 */
	private Long merId;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 设备唯一Id
	 */
	private Long deviceUniqueId;

	/**
	 * 设备类型
	 */
	private String deviceType;

	/**
	 * 变动积分
	 */
	private Integer changeInte;
	/**
	 * 变动余额
	 */
	private Double changeBal;
	/**
	 * 变动后总积分
	 */
	private Integer newInte;
	/**
	 * 变动后总余额
	 */
	private Double newBal;
	/**
	 * 类型：0注册奖励 1邀请奖励上级 2邀请奖励下级 3购物奖励 4提成奖励（未使用） 5首次查券奖励 6首次下单奖励  7用户提现 8用户提现驳回 9奖励上级，10奖励上上级 11奖励代理 12奖励上级代理 13奖励合伙人 14人为操作 15签到(预留) 16解析电影扣除的积分和余额(预留) 99未知(数据迁移不能和新系统匹配)
	 */
	private Integer type;
	/**
	 * 订单号-购物的
	 */
	private String orderId;
	/**
	 * 商户订单号
	 */
	private String tradeno;
	/**
	 * 来源用户id
	 */
	private Long sourceUserId;
	/**
	 * 
	 */
	private String remark;

	public Long getMerId() {
		return merId;
	}

	public void setMerId(Long merId) {
		this.merId = merId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getChangeInte() {
		return changeInte;
	}

	public void setChangeInte(Integer changeInte) {
		this.changeInte = changeInte;
	}

	public Double getChangeBal() {
		return changeBal;
	}

	public void setChangeBal(Double changeBal) {
		this.changeBal = changeBal;
	}

	public Integer getNewInte() {
		return newInte;
	}

	public void setNewInte(Integer newInte) {
		this.newInte = newInte;
	}

	public Double getNewBal() {
		return newBal;
	}

	public void setNewBal(Double newBal) {
		this.newBal = newBal;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getTradeno() {
		return tradeno;
	}

	public void setTradeno(String tradeno) {
		this.tradeno = tradeno;
	}

	public Long getSourceUserId() {
		return sourceUserId;
	}

	public void setSourceUserId(Long sourceUserId) {
		this.sourceUserId = sourceUserId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getDeviceUniqueId() {
		return deviceUniqueId;
	}

	public void setDeviceUniqueId(Long deviceUniqueId) {
		this.deviceUniqueId = deviceUniqueId;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}
}
